﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMS.IRepository
{
    public interface IStudentRepository
    {
        List<CMS.Model.Student> SelectAllStudents(int pageIndex, int pageSize, out int rowCount);
       CMS.Model.Student SelectStudentById(int studentId);
       void InsertStudent(CMS.Model.Student student);
       void UpdateStudent(CMS.Model.Student student);
       void DeleteStudentById(int studentId);
       List<Model.Student> SelectStudentsNotInCourse(int courseId);
       List<Model.Student> SelectStudentsInCourse(int courseId);
    }
}
